<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@include file="./acommon.jsp"%>
<!DOCTYPE html>
<html lang="zh">
<meta charset="utf-8">
<head>
<!-- Meta Tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Candidate HTML Template</title>
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">

<style type="text/css">
.no-fouc {
	display: none;
}
</style>

</head>

<body class="sticky-header-on tablet-sticky-header">

	<div id="fb-root"></div>
	<div class="container">


		<!-- Header -->
		<header id="header" class="animate-onscroll">
			<!-- Main Header -->
			<div id="main-header">
				<div class="container">
					<div class="row">
						<!-- Logo -->
						<div id="logo" class="col-lg-3 col-md-3 col-sm-3">
							<a href="main-v1.html">
								<img src="http://www.chinatax.gov.cn/dbsource/3999969/3999971.png" alt="Logo">
							</a>
						</div>
						<!-- /Logo -->
						<!-- Main Quote -->
						<div class="col-lg-5 col-md-4 col-sm-4"></div>
						<!-- /Main Quote -->
						<!-- Newsletter -->
						<!-- <div class="col-lg-4 col-md-5 col-sm-5">
							<form id="newsletter" action="php/newsletter-form.php" method="POST">
								<h5>
									<strong>查询新闻</strong>
								</h5>
								<div class="newsletter-form">
									<div class="newsletter-email">
										<input type="text" name="newsletter-email" placeholder="搜索新闻">
									</div>
									<div class="newsletter-submit">
										<input type="submit" value="">
										<i class="icons icon-right-thin"></i>
									</div>
								</div>
							</form>
						</div> -->
						<!-- /Newsletter -->
					</div>
				</div>
			</div>
			<!-- /Main Header -->
			<!-- Lower Header -->
			<div id="lower-header">
				<div class="container">
					<div id="menu-button">
						<div>
							<span></span>
							<span></span>
							<span></span>
						</div>
						<span>Menu</span>
					</div>

					<ul id="navigation">
						<!-- Home -->
						<li class="home-button current-menu-item">
							<a href="${ctx }/">
								<i class="icons icon-home"></i>
							</a>

						</li>
						<!-- /Home -->
						<!-- Pages -->
						<li>
							<a href="${ctx }/index/newsList">
								<span>税务新闻</span>
							</a>
						</li>
						<!-- /Pages -->

						<!-- Media -->

						<li>
							<a href="${ctx }/">违章公告</a>

						</li>
						<!-- /Media -->


						<!-- Get Involved -->
						<li>
							<a href="${ctx }/">举报</a>
						</li>
						<!-- /Get Involved -->


						<!
						-- Events -->
						<li>
							<a href="${ctx }/index/about">
								<span>网站介绍</span>
							</a>

						</li>
						<!-- /Events -->





						<!-- Donate -->
						<li class="donate-button ">
							<a href="#">欢迎，你好！</a>
						</li>
						<!-- /Donate -->

					</ul>

				</div>

			</div>
			<!-- /Lower Header -->


		</header>
		<!-- /Header -->


		<section id="content">

			<!-- Page Heading -->
			<section class="section page-heading animate-onscroll">

				<h1>NEWS</h1>
				<p class="breadcrumb">
					<a href="${ctx }/">首页</a>
					/ 文章详细页
				</p>

			</section>
			<!-- Page Heading -->



			<!-- Section -->
			<section class="section full-width-bg gray-bg">

			<div class="row">


				<div class="col-lg-9 col-md-9 col-sm-8">

					<h3 class="animate-onscroll no-margin-top">${news.newsTitle }</h3>
					<a style="color: #95999e;font-size: 13px;">发布于：${news.createBy } &nbsp; &nbsp; &nbsp;时间：</a>

					<a style="color: #95999e;font-size: 13px;">

						<fmt:formatDate value="${news.createTime }" pattern="yyyy-MM-dd HH:mm:ss" />
					</a>
					<p class="animate-onscroll">${news.newsContent }</p>

				</div>



				<!-- Sidebar -->
				<div class="col-lg-3 col-md-3 col-sm-4 sidebar">


					<!-- Upcoming Events -->
					<div class="sidebar-box white animate-onscroll">
						<h3>Upcoming Events</h3>
						<ul class="upcoming-events">

							<!-- Event -->
							<c:forEach items="${newsList}" var="news">
								<li>


									<div class="event-content">
										<h6>
											<a href="${ctx }/index/news/${news.newsId}">${news.newsTitle }</a>
										</h6>
										<ul class="event-meta">
											<li>
												<i class="icons icon-clock"></i>
												<fmt:formatDate value="${newsList[0].createTime }" pattern="yyyy-MM-dd HH:mm:ss" />
											</li>
											<li>
												<i class="icons icon-location"></i>
												发布于：${news.createBy }
											</li>
										</ul>
									</div>
								</li>

							</c:forEach>

							<!-- /Event -->

						</ul>
						<a href="${ctx }/index/newsList" class="button transparent button-arrow">More events</a>
					</div>
					<!-- /Upcoming Events -->

				</div>

				<!-- /Sidebar -->



			</div>

		</section>
			<!-- /Section -->

		</section>





		<!-- Footer -->
		<jsp:include page="afooter.jsp" />
		<!-- /Footer -->
</body>

</html>